package com.lsfb.light.Login.Register;

import android.content.Intent;
import android.view.View;
import android.widget.EditText;

import com.lsfb.light.R;
import com.lsfb.light.Utils.TitleUtils;
import com.zgscwjm.lsfbbasetemplate.LsfbActivity;
import com.zgscwjm.lsfbbasetemplate.annotation.ContentView;
import com.zgscwjm.lsfbbasetemplate.annotation.OnClick;
import com.zgscwjm.lsfbbasetemplate.annotation.ViewInject;

@ContentView(R.layout.aty_register)
public class RegisterActivity extends LsfbActivity {
    @ViewInject(R.id.et_register_phone)
    private EditText et_phone;

    @Override
    public void initView() {
        TitleUtils.setsimpletitlebar(this, "注册", true);

    }

    @Override
    public void initEvent() {

    }

    @Override
    public void initData() {

    }

    @OnClick({R.id.btn_register_next, R.id.tv_register_protocol})
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_register_next:        //下一步，跳转获取验证码
                startActivity(new Intent(this, RegisterCodeActivity.class)
                        .putExtra("phone", et_phone.getText().toString()));
                break;
            case R.id.tv_register_protocol:     //用户注册协议
                break;
        }
    }
}
